package face.pay.vo;

import face.pay.entity.OemInfo;
import face.pay.entity.UserInfo;

/**
 * @Auther: zkj
 * @Date: 2019/7/4 15:24
 * @Description: OEM信息 用户信息
 */
public class OemUserInfo {

    private Integer userId;

    private String userName;

    private String passWord;

    private Integer oemId;

    private String oemName;

    private String mobile;

    private String adminDomain;

    private String agencyDomain;

    private String enterpriseDomain;




    /**
     * 商户状态
     */
    private Integer oemStatus;

    private String createdTime;


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public Integer getOemId() {
        return oemId;
    }

    public void setOemId(Integer oemId) {
        this.oemId = oemId;
    }

    public String getOemName() {
        return oemName;
    }

    public void setOemName(String oemName) {
        this.oemName = oemName;
    }


    public Integer getOemStatus() {
        return oemStatus;
    }

    public void setOemStatus(Integer oemStatus) {
        this.oemStatus = oemStatus;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public OemInfo getOemInfo() {
        return new OemInfo(this.oemId, this.oemName, this.adminDomain);
    }

    public String getAdminDomain() {
        return adminDomain;
    }

    public void setAdminDomain(String adminDomain) {
        this.adminDomain = adminDomain;
    }

    public String getAgencyDomain() {
        return agencyDomain;
    }

    public void setAgencyDomain(String agencyDomain) {
        this.agencyDomain = agencyDomain;
    }

    public String getEnterpriseDomain() {
        return enterpriseDomain;
    }

    public void setEnterpriseDomain(String enterpriseDomain) {
        this.enterpriseDomain = enterpriseDomain;
    }

    public UserInfo getUserInfo() {

        UserInfo userInfo = new UserInfo(this.userId, this.oemId, this.userName, this.passWord);

        userInfo.setMobile(this.mobile);

        return userInfo;
    }

}
